import request from '@/utils/request'
import requestMock from '@/utils/requestMock'

//请求三级分类数据
export const reqCategoryList = () =>
    request({ url: '/product/getBaseCategoryList', method: 'get' })

//请求首页轮播图数据
export const reqBannerList = () =>
    requestMock({ url: '/banner', method: 'get' })

//请求首页floor数据
export const reqFloorList = () => requestMock({ url: '/floor', method: 'get' })

//搜索商品结果数据
export const reqSearchList = (params) =>
    request({ url: '/list', method: 'post', data: params })
